package com.bugsnag.ohos;

/**
 * /**
 * Connectivity
 *
 * @since 2021-07-20
 */
public interface Connectivity {
    /**
     * registerForNetworkChanges
     */
    void registerForNetworkChanges();

    /**
     * unregisterForNetworkChanges
     */
    void unregisterForNetworkChanges();

    /**
     * has Network Connection
     *
     * @return boolean
     */
    boolean hasNetworkConnection();

    /**
     * retrieve Network Access State
     *
     * @return state
     */
    String retrieveNetworkAccessState();
}
